package com.zoop.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/feign")
public class FeignController {

	@RequestMapping(value="test")
	public Map<String, Object> test(){
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("id","11");
		map.put("name", "jian1");
		String path = this.getClass().getClassLoader().getResource("").getPath();
		map.put("path", path);
		return map;
	}
	
}
